package com.example.scala.chapter3

import scala.util.control.Breaks

/**
 *
 * Description:
 *
 * Create by lucienoz on 2021/10/15.
 * Copyright © 2021 lucienoz. All rights reserved.
 */
object chapter10 {
	def main(args : Array[String]) : Unit = {

		test("bar") //调用，test func :foo=bar

	}

	private def test(foo:String) : Unit ={ //定义
			println("test func :foo="+foo)
	}
}
